//import './assets/main.css'
import { createApp } from 'vue'
import {createPinia} from 'pinia'
import App from './App.vue'
import router from "@/router/index.js";
import 'lib-flexible/flexible';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const app=createApp(App)
const pinia=createPinia()

pinia.use(piniaPluginPersistedstate) //注册持久化插件，避免刷新数据丢失
app.use(router) //路由配置
app.use(pinia) //本地存储
app.mount('#app')
